package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 风险种类对象 risk_type_data
 *
 * @author ruoyi
 * @date 2022-10-15
 */
public class RiskTypeData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 具体类型名称 */
    @Excel(name = "具体类型名称")
    private String typeName;

    /** 类型id */
    @Excel(name = "类型id")
    private Integer riskTypeId;

    /** 表名称 */
    @Excel(name = "表名称")
    private String typeFrom;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private Integer level;


    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setRiskTypeId(Integer riskTypeId)
    {
        this.riskTypeId = riskTypeId;
    }

    public Integer getRiskTypeId()
    {
        return riskTypeId;
    }
    public void setTypeFrom(String typeFrom)
    {
        this.typeFrom = typeFrom;
    }

    public String getTypeFrom()
    {
        return typeFrom;
    }
    public void setLevel(Integer level)
    {
        this.level = level;
    }

    public Integer getLevel()
    {
        return level;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeName", getTypeName())
                .append("riskTypeId", getRiskTypeId())
                .append("typeFrom", getTypeFrom())
                .append("level", getLevel())
                .toString();
    }
}
